package com.fanshe.demo03;

public class Student {
    private String name;
    private int age;

    private Student(String name) {
        System.out.println("name的值为" + name);
        System.out.println("public...Student...有参构造");
    }

    public Student(String value, String text, int i) {
        System.out.println("public...Student...无参构造");
    }

    public Student(String name, int age) {
        System.out.println("name的值为" + name + "age的值为" + age);
        System.out.println("public...Student...有参构造");
    }
}
